package com.rbac.admin;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * RBAC权限管理系统启动类
 * 
 * @author rbac-admin
 * @since 2024-01-20
 */
@SpringBootApplication
@MapperScan("com.rbac.admin.mapper")
public class RbacAdminApplication {
 
    public static void main(String[] args) {
        SpringApplication.run(RbacAdminApplication.class, args);
        System.out.println("\n==========================================");
        System.out.println("        RBAC权限管理系统启动成功！");
        System.out.println("        Swagger文档: http://localhost:8080/api/swagger-ui.html");
        System.out.println("        Druid监控: http://localhost:8080/api/druid/index.html");
        System.out.println("==========================================\n");
    }
}